<?php

require_once('soap/nusoap.php'); 
$wsdl="http://store8x.com/webser/server.php?wsdl"; 
 
		
	$client=new nusoap_client($wsdl, array('wsdl')); 
	$param=array('commandcode' => 'ACC',  //EX: WF, WORLD
		    		'serviceid' => '8249', // Số dịch vụ (6x76)
		    		'userid'=> '84902171891', //84902171891
		    		'message'=> 'ACC pass', //ACC pass,KD nje
		    		'requestid'=> strval(rand(100000,9999999)),//ID MO: randomcode: 298963647
		    		'username'=> 'south', //authentication
		    		'password'=> 'south.123!@#'); 

//$client->use_curl = TRUE;
$result =  $client->call('receiveMO', $param); 
echo "<pre>Result: " . print_r ($result, true) . " - </pre>"; 
echo $error=$client->getError();
?>
